home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000140_icon-group-sender _Mon Jul 20 12:38:50 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA12033
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 20 Jul 1998 12:38:49 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA07615; Mon, 20 Jul 1998 12:38:34 -0700
From: Kostas Oikonomou <ko@mara.ho.att.com>
Date: Mon, 20 Jul 1998 15:35:07 -0400 (EDT)
To: icon-group@optima.CS.Arizona.EDU
Subject: Reading numbers from a file
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid
Message-Id: <13747.39630.559540.280143@mara>
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 484
Hello,
This is probably a dumb question, but there doesn't seem to be an easy way to
read a numbers from a file with Icon. I mean a file consisting of lines, each
line being a list of numbers (integers or reals), separated by blanks.
I finally wrote my own routine, but I don't want to reinvent thw wheel...
(I looked in the procs/ library, and found pack/unpack in binary.icn. But I
don't see how to get unpack to do what I want.)
Thanks for your help.
Kostas Oikonomou